package obj;

/**
 * @author:Administrator
 * @date:2022/1/15
 * @describe: 多态
 */
public class MasterPolymorphic {
    /**
     * 多态
     *
     * @param animal
     */
    public void feed(Animal animal) {
        animal.eat();
    }
}
